package com.ht.module.bus.controller;

import com.ht.module.bus.service.BusRoomRecordService;
import com.ht.util.JsonResult;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ht.module.bus.entity.BusRoomRecord;



/**
 * <p>
 * 房间流水记录表 前端控制器
 * </p>
 *
 * @author hejialun
 * @since 2024-12-30
 */
@RestController
@RequestMapping("/bus-room-record")
public class BusRoomRecordController {

    @Autowired
    private BusRoomRecordService busRoomRecordService;

	@Operation(summary = "分页查询")
    @GetMapping("/findRoomRecord")
    public JsonResult findRoomRecord( BusRoomRecord en){
        return JsonResult.success(busRoomRecordService.findRoomRecord(en));
    }
}
